{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Main Process",
      "runtimeExecutable": "yarn",
      "runtimeArgs": [
        "start:electron",
        //"--remote-debugging-port=9223",
        "--inspect-brk=9222"
      ],
      "outputCapture": "std",
      "port": 9222,
      "skipFiles": [
        "<node_internals>/**"
      ],
      "sourceMaps": true,
      "sourceMapPathOverrides": {
        "electron/dist/*": "${webRoot}/electron/src/*"
      },
      //"preLaunchTask": "Build: Electron"
    },
    {
      "type": "chrome",
      "request": "attach",
      "name": "Renderer Process",
      "port": 9223,
      "webRoot": "${workspaceRoot}",
      "sourceMaps": true,
      "sourceMapPathOverrides": {
        "webpack:///./*": "${webRoot}/*",
        "webpack:///*": "${webRoot}/*"
      },
      //"preLaunchTask": "Build: Nuxt"
    }
  ],
  "compounds": [
    {
      "name": "Launch",
      "configurations": [
        "Main Process",
        "Renderer Process"
      ]
    }
  ]
}